<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org">
<th:block th:fragment="pageSetting">
  <script th:inline="javascript" id="theme-config-getter">
    const PageAttrs = {
      metas_enable_read_limit: /*[[${#annotations.getOrDefault(singlePage, 'enable_read_limit', 'false')}]]*/ false,
      metas_enable_page_meta: /*[[${#annotations.getOrDefault(singlePage, 'enable_page_meta','true')}]]*/ true,
      metas_enable_passage_tips: /*[[${#annotations.getOrDefault(singlePage, 'enable_passage_tips', 'true')}]]*/ true,
      metas_enable_collect_check: /*[[${#annotations.getOrDefault(singlePage, 'enable_collect_check', 'true')}]]*/ true,
      metas_use_raw_content: /*[[${#annotations.getOrDefault(singlePage, 'use_raw_content', 'false')}]]*/ false,
      metas_enable_comment: /*[[${#annotations.getOrDefault(singlePage, 'enable_comment', 'true')}]]*/ true,
      metas_enable_toc: /*[[${#annotations.getOrDefault(singlePage, 'enable_comment', 'true')}]]*/ true,
      metas_toc_depth: /*[[${#annotations.getOrDefault(singlePage, 'toc_depth', 0)}]]*/ 0,
      metas_img_max_width: /*[[${#annotations.getOrDefault(singlePage, 'img_max_width', '100%')}]]*/ '100%',
      metas_img_align: /*[[${#annotations.getOrDefault(singlePage, 'img_align', 'center')}]]*/ 'center',
      metas_enable_copy: /*[[${#annotations.getOrDefault(singlePage, 'enable_copy', 'true')}]]*/ true,
      metas_enable_donate: /*[[${#annotations.getOrDefault(singlePage, 'enable_donate', 'true')}]]*/ true,
      metas_enable_share: /*[[${#annotations.getOrDefault(singlePage, 'enable_share', 'true')}]]*/ true,
      metas_enable_like: /*[[${#annotations.getOrDefault(singlePage, 'enable_like', 'true')}]]*/ true,
      metas_enable_fold_long_code: /*[[${#annotations.getOrDefault(singlePage, 'enable_fold_long_code', 'true')}]]*/ true
    };
  </script>
</th:block>
</html>